package com.skyline.jfs.common.config;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;

import com.skyline.jfs.common.logger.LoggerFactory;


/**
 * 启动时加载配置文件
 * @author wuqh
 * */
public class StartUpConfig implements BeanFactoryPostProcessor {
	@Override
	public void postProcessBeanFactory(
			ConfigurableListableBeanFactory beanFactory) throws BeansException {
		LoggerFactory.getLogger().debug("Context Loaded");
		Config.config();
		echo();
	}
	
	private void echo() {
		LoggerFactory.getLogger().debug("");
	}

}
